From: Debian Qt/KDE Maintainers Date: Tue, 26 Jan 2021 17:17:11 +0000 (+0000) Subject: include to fix some GCC 11 build issues X-Git-Tag: archive/raspbian/5.15.2+dfsg-3+rpi1^2~12 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=1011c11e3471eb766b21a06381f112a97bb5a2bc;p=qtbase-opensource-src.git include to fix some GCC 11 build issues Origin: upstream, commits: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=813a928c7c3cf986 https://code.qt.io/cgit/qt/qtbase.git/commit/?id=9c56d4da2ff631a8 Last-Update: 2021-01-26 Gbp-Pq: Name gcc_11_limits.diff --- diff --git a/src/corelib/global/qendian.h b/src/corelib/global/qendian.h index 257efbbdb..a97776c76 100644 --- a/src/corelib/global/qendian.h +++ b/src/corelib/global/qendian.h @@ -44,6 +44,8 @@ #include #include +#include + // include stdlib.h and hope that it defines __GLIBC__ for glibc-based systems #include #include diff --git a/src/corelib/global/qfloat16.h b/src/corelib/global/qfloat16.h index c7a9c87af..5302be072 100644 --- a/src/corelib/global/qfloat16.h +++ b/src/corelib/global/qfloat16.h @@ -43,6 +43,7 @@ #include #include +#include #include #if defined(QT_COMPILER_SUPPORTS_F16C) && defined(__AVX2__) && !defined(__F16C__) diff --git a/src/corelib/text/qbytearraymatcher.h b/src/corelib/text/qbytearraymatcher.h index 0eedfc1d2..f5f9bef7b 100644 --- a/src/corelib/text/qbytearraymatcher.h +++ b/src/corelib/text/qbytearraymatcher.h @@ -42,6 +42,8 @@ #include +#include + QT_BEGIN_NAMESPACE